Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support contracts verification #229

Merged
merged 33 commits into from
Nov 28, 2024
Merged

Conversation

yiweichi
Copy link
Member

@yiweichi yiweichi commented Nov 4, 2024

Added new fields to config.toml to support contracts verification:

[contracts.verify]
VERIFIER_TYPE_L1 = "blockscout" # support blockscout, etherscan and sourcify
VERIFIER_TYPE_L2 = "blockscout" # support blockscout, etherscan and sourcify
EXPLORER_URI_L1 = "http://l1-explorer.scrollsdk"
EXPLORER_URI_L2 = "http://blockscout.scrollsdk"
RPC_URI_L1 = "http://l1-devnet.scrollsdk"
RPC_URI_L2 = "http://l2-rpc.scrollsdk"
EXPLORER_API_KEY_L1 = "" # require when VERIFIER_TYPE is etherscan
EXPLORER_API_KEY_L2 = "" # require when VERIFIER_TYPE is etherscan

under devnet folder, run make verify will verify contracts on devnet environment.

This reverts commit 0c0e878.
@yiweichi yiweichi merged commit c20a205 into develop Nov 28, 2024
1 check passed
@yiweichi yiweichi deleted the feat-contracts-verification branch November 28, 2024 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant